/* 分类导航悬浮菜单样式 */
.hover-menu-trigger {
    position: relative;
}

.nav-category-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 0 0 4px 4px;
}

.hover-menu-trigger:hover .nav-category-container {
    opacity: 1;
    visibility: visible;
}

.nav-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-category-item {
    position: relative;
}

.nav-category-link {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-category-link:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
    border-left-color: #0d6efd;
}

.nav-category-link i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* 子分类容器 */
.nav-subcategory-container {
    position: absolute;
    top: 0;
    left: 100%;
    width: 700px;
    min-height: 100%;
    background-color: #fff;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1001;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0 4px 4px 0;
}

.nav-category-item:hover .nav-subcategory-container {
    opacity: 1;
    visibility: visible;
}

/* 子分类区域 */
.nav-subcategory-section {
    width: 33.333%;
    padding: 10px;
}

.nav-subcategory-heading {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.nav-subcategory-heading a {
    color: #333;
    text-decoration: none;
}

.nav-subcategory-heading a:hover {
    color: #0d6efd;
}

/* 商品类型链接 */
.nav-product-type-container {
    display: flex;
    flex-wrap: wrap;
}

.nav-product-type-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 5px;
}

.nav-product-type-link:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .nav-category-container {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
    }
    
    .nav-subcategory-container {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0 0 0 20px;
        flex-direction: column;
    }
    
    .nav-subcategory-section {
        width: 100%;
        padding: 5px;
    }
} 